package com.gzcstec.product.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品实体类
 */
@Entity
@Data
public class ProductInfo {

    @Id
    /*商品id*/
    private String productId;

    /**商品名称**/
    private String productName;

    /*商品单价*/
    private BigDecimal productPrice;

    /*商品库存*/
    private Integer productStock;

    /*商品描述*/
    private String productDescription;

    /*商品小图*/
    private String productIcon;

    /*商品状态0正常1下架*/
    private Integer productStatus;

    /*商品类目*/
    private Integer categoryType;

    /*创建时间*/
    private Date createTime;

    /**更新时间*/
    private Date updateTime;

}
